package com.byxy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.byxy.dao.ReplyDao;
import com.byxy.entity.Reply;
import com.byxy.service.ReplyService;

@Service
@Transactional
public class ReplyServiceImpl implements ReplyService {
	
	@Autowired
	private ReplyDao replyDao;
	
	@Override
	public List<Reply> findById(Integer tipId) {
		// TODO Auto-generated method stub
		return replyDao.findById(tipId);
	}

	@Override
	public void myReply(Reply reply) {
		// TODO Auto-generated method stub
		replyDao.myReply(reply);
	}

}
